package com.csd.pojo;
// default package

import java.util.Date;


/**
 * @JavaBean Team
 * @author CSD
 * @version 1.1.1
 * @date 2009-12-16
 * @description 变更记录
 */

public  class ChangeRecord  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    
	/**数据库唯一标识*/
     private Integer id;
     /**对应的工程*/
     private Project project;
     /**变更申请时间*/
     private Date time;
     /**变更内容*/
     private String content;
     /**变更理由*/
     private String reason;
     /**指导老师意见*/
     private String opinion;
     /**变更结果 */
     private String result;
     /**备注*/
     private String backup;
     /**变更所处状态：1指导老师未审查 2管理员未审查 3管理员审查结束*/
     private String state;

    // Constructors

    /** default constructor */
    public ChangeRecord() {
    }

    
    public String getState() {
		return state;
	}


	public void setState(String state) {
		this.state = state;
	}


	/** full constructor */
    public ChangeRecord(Project project, Date time, String content, String reason, String opinion, String result, String backup) {
        this.project = project;
        this.time = time;
        this.content = content;
        this.reason = reason;
        this.opinion = opinion;
        this.result = result;
        this.backup = backup;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Project getProject() {
        return this.project;
    }
    
    public void setProject(Project project) {
        this.project = project;
    }

    public Date getTime() {
        return this.time;
    }
    
    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }

    public String getReason() {
        return this.reason;
    }
    
    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getOpinion() {
        return this.opinion;
    }
    
    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public String getResult() {
        return this.result;
    }
    
    public void setResult(String result) {
        this.result = result;
    }

    public String getBackup() {
        return this.backup;
    }
    
    public void setBackup(String backup) {
        this.backup = backup;
    }
   








}